/*
	The directives starting with # below ensures that this file is read by the compiler only once
	even if it is #included several times. It is call an "include guard"
*/
#ifndef CART_H_
#define CART_H_

//other types
#include "Date.h"				//uncomment once you have added the type definition
#include <string>
using namespace std;

struct Cart {
public:
	//data

	// constructors
	//Cart () {}
	
	Cart (int cart,int cust,Date dte)   //RNJ
			: cart_id(cart), cust_id(cust), cart_purchase_date(dte) {}  //RNJ

   // utility functions
	string display() const;
	
	int get_cust_id() const{		//RF S2 down to line 32
		return cust_id;
	}
	
	int get_cart_id() const{
		return cart_id;
	}								//RF S2
private:
   //constants

   // private data
	int cart_id;
	int cust_id;
	Date cart_purchase_date;	//uncomment once you have added the type definition
};


#endif //CART_H_
